Kleene star - определение. Что такое Kleene star
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое Kleene star - определение

UNARY OPERATION ON SETS OF STRINGS, USED IN REGULAR EXPRESSIONS FOR "ZERO OR MORE REPETITIONS"
Kleene closure; Kleene plus; Star operation; Σ*; Kleene operator; Kleene operators; Star closure

Kleene star         
<text> (Or "Kleene closure", named after Stephen Kleene) The postfix "*" operator used in regular expressions, Extended Backus-Naur Form, and similar formalisms to specify a match for zero or more occurrences of the preceding expression. For example, the regular expression "be*t" would match the string "bt", "bet", "beet", "beeeeet", and so on. (2000-07-26)
Kleene star         
In mathematical logic and computer science, the Kleene star (or Kleene operator or Kleene closure) is a unary operation, either on sets of strings or on sets of symbols or characters. In mathematics,
Kleene closure         

Википедия

Kleene star

In mathematical logic and computer science, the Kleene star (or Kleene operator or Kleene closure) is a unary operation, either on sets of strings or on sets of symbols or characters. In mathematics, it is more commonly known as the free monoid construction. The application of the Kleene star to a set V {\displaystyle V} is written as V {\displaystyle V^{*}} . It is widely used for regular expressions, which is the context in which it was introduced by Stephen Kleene to characterize certain automata, where it means "zero or more repetitions".

  1. If V {\displaystyle V} is a set of strings, then V {\displaystyle V^{*}} is defined as the smallest superset of V {\displaystyle V} that contains the empty string ε {\displaystyle \varepsilon } and is closed under the string concatenation operation.
  2. If V {\displaystyle V} is a set of symbols or characters, then V {\displaystyle V^{*}} is the set of all strings over symbols in V {\displaystyle V} , including the empty string ε {\displaystyle \varepsilon } .

The set V {\displaystyle V^{*}} can also be described as the set containing the empty string and all finite-length strings that can be generated by concatenating arbitrary elements of V {\displaystyle V} , allowing the use of the same element multiple times. If V {\displaystyle V} is either the empty set ∅ or the singleton set { ε } {\displaystyle \{\varepsilon \}} , then V = { ε } {\displaystyle V^{*}=\{\varepsilon \}} ; if V {\displaystyle V} is any other finite set or countably infinite set, then V {\displaystyle V^{*}} is a countably infinite set. As a consequence, each formal language over a finite or countably infinite alphabet Σ {\displaystyle \Sigma } is countable, since it is a subset of the countably infinite set Σ {\displaystyle \Sigma ^{*}} .

The operators are used in rewrite rules for generative grammars.